package com.shierke.Ume.ui.activity

import android.content.Context
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.shierke.Ume.R
import com.shierke.Ume.base.BaseActivity
import com.shierke.Ume.ui.adapter.explore.SearchHotAdapter
import com.shierke.Ume.util.startActivity
import kotlinx.android.synthetic.main.activity_trend_choose_hot.*

/**
 * Create by Ybx
 * on 2020-10-18
 * Desribe:
 */
class TrendsChooseHotActivity : BaseActivity() {


    companion object {
        fun startActivity(context: Context) {
            context.startActivity<TrendsChooseHotActivity>()
        }

    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContentView(R.layout.activity_trend_choose_hot)


        setActivityTitleText(getString(R.string.trend_hot_activity_title))

        hotRecycle.layoutManager = LinearLayoutManager(this)
        val hotAdapter = SearchHotAdapter()
        hotRecycle.adapter = hotAdapter

    }
}